package com.zp.business.service.register;

import com.zp.business.entity.register.bo.ClinicMasterCostBo;
import com.zp.business.entity.register.vo.ClinicMasterCostVo;
import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 门诊挂号费用明细Service接口
 *
 * @author zhang peng
 * @ date 2023-12-23
 */
public interface IClinicMasterCostService {

    /**
     * 查询门诊挂号费用明细
     */
    ClinicMasterCostVo queryById (String id);

    /**
     * 查询门诊挂号费用明细列表(分页)
     */
    TableDataInfo<ClinicMasterCostVo> queryPageList (ClinicMasterCostBo bo, PageQuery pageQuery);

    /**
     * 查询门诊挂号费用明细列表(不分页)
     */
    List<ClinicMasterCostVo> queryList (ClinicMasterCostBo bo);

    /**
     * 修改门诊挂号费用明细
     */
    Boolean insertByBo (ClinicMasterCostBo bo);

    /**
     * 修改门诊挂号费用明细
     */
    Boolean updateByBo (ClinicMasterCostBo bo);

    /**
     * 校验并批量删除门诊挂号费用明细信息
     */
    Boolean deleteWithValidByIds (Collection<String> ids, Boolean isValid);
}
